package com.mtt.thirdapi.yanxuan.service;

import com.mtt.thirdapi.common.api.R;
import com.mtt.thirdapi.yanxuan.vo.ApplyInfoVo;
import com.mtt.thirdapi.yanxuan.vo.OrderVO;
import com.mtt.thirdapi.yanxuan.vo.YxRefundOfferExpressVo;

public interface YXOpenApiService {
    R handleGetIds();

    R handleGetItemsById(String itemIds);

    R handlePaidOrder(OrderVO order);

    R handleCancelOrder(String orderId);

    R handleConfirmOrder(String orderId, String packageId, String confirmTime);

    R handleGetItemBySkuId(String skuId);

    R handleGetInventory(String skuIds);

    R handleGetOrder(String orderId);

    R handleGetCallBackMeheods();

    R handleMockCallbackOrderCancel(String orderId);

    R handleMockCallbackAuditCancelOrder(String orderId, boolean cancel);

    R handleMockCallbackDeliveryOrder(String orderId);

    R handleMockCallbackRefundAddress(String applyId, int type);

    R handleRegisterCallback(String methods);

    R handleRefundOrderApply(ApplyInfoVo applyInfoVo);

    R handleRefundOrderCancel(String applyId);

    R handleMockCallbackRefundReject(String applyId);

    R handleRefundOrderOfferExpress(YxRefundOfferExpressVo yxRefundOfferExpressVo);

    R handleRefundOrderDetail(String applyId);

    R handleMockCallbackRefundExpressConfirm(String applyId);

    R handleMockCallbackRefundSystemCancel(String applyId);

    R handleCallbackRefundResultDirectly(String applyId);

    R handleMockCallbackRefundResultWithExpress(String applyId, boolean allApproved);

    R handleItemSkuDiscount(String skuIds);
}
